<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>UpdateBook</title>
</head>
<body>
<h1>UpdateBook</h1>
<hr>
<div th:include="commons/topBar :: topBar"></div>

<form th:action="@{/book/updateBook}" method="post">
    <div>
        <label for="">isbn</label>
        <input type="text" name="isbn" th:value="${book.isbn}" readonly>
    </div>

    <div>
        <label for="">书名</label>
        <input type="text" name="bookName" th:value="${book.bookName}">
    </div>

    <div>
        <label for="">出版社ID</label>
        <input type="text" name="publisherID" th:value="${book.publisherID}">
    </div>

    <div>
        <label for="">价格</label>
        <input type="text" name="price" th:value="${book.price}">
    </div>

    <div>
        <label for="">数量</label>
        <input type="text" name="count" th:value="${book.count}">
    </div>

    <div>
        <label for="">简介</label>
        <input type="text" name="description" th:value="${book.description}">
    </div>


    <input type="submit" value="提交"><br>

    <p th:text="${msg}"></p>


</form>
</body>
</html>